package com.cn.ant.modules.wechat.dao;

import com.cn.ant.common.persistence.MyBatisRepository;
import java.util.List;
import java.util.Map;
import com.cn.ant.common.persistence.BaseDao;
import com.cn.ant.common.persistence.Parameter;
import com.cn.ant.modules.wechat.entity.NewsTemplate;

/**
 * 图文消息模板Mapper接口
 * @author AntDream
 * @version 2015-03-23
 */
@MyBatisRepository
public interface NewsTemplateMapper{

    public int delete(String id);

    public int insert(NewsTemplate record);

    public NewsTemplate get(String id);

    public int update(NewsTemplate record);

    public List<NewsTemplate> query(Map<String,Object> param);

    public int queryCount(Map<String, Object> param);
}
